package cn.myjerry.chainOfResp;

public class GeneralManager extends Leader {

	public GeneralManager(String name) {
		super(name);
	}

	@Override
	public void handleRequest(LeaveRequest req) {
		if(req.getLeaveDays() > 30) {
//			if(this.NextLeader != null) {
//				this.NextLeader.handleRequest(req);
//			}
			System.out.println("不批");
		} else {
			System.out.println("总经理审批");
		}
	}

}
